package com.example.administrator.szb.bean;
import java.util.List;

/**
 * Created by D N on 2017/9/30.
 * 发布图文资讯
 */

public class BFZX {

    /**
     * result : 1
     * err_code : 0
     * err_msg :
     * data : [{"id":24,"title":"测试","type_id":0,"author":"18317722555","reading_num":0,"is_top":0,"create_time":"1天前","update_time":"2017-09-28 18:32:56","content":"<img src=\"http://ownv0vrav.bkt.clouddn.com/1506594225852.jpg?attname=\"/>黎明之前","status":1,"admin_id":0,"users_id":62,"image":"http://ownv0vrav.bkt.clouddn.com/1506594225852.jpg?attname="},{"id":29,"title":"刚看来","type_id":0,"author":"18317722555","reading_num":0,"is_top":0,"create_time":"0秒前","update_time":"2017-09-30 15:32:22","content":"<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><title><\/title><\/head><body><img src=\"http://ownv0vrav.bkt.clouddn.com/1506756714070.jpg\"/><p><\/p><p><\/p><\/body><\/html>","status":1,"admin_id":0,"users_id":62,"image":"http://ownv0vrav.bkt.clouddn.com/1506756714070.jpg"}]
     */

    private int result;
    private int err_code;
    private String err_msg;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 24
         * title : 测试
         * type_id : 0
         * author : 18317722555
         * reading_num : 0
         * is_top : 0
         * create_time : 1天前
         * update_time : 2017-09-28 18:32:56
         * content : <img src="http://ownv0vrav.bkt.clouddn.com/1506594225852.jpg?attname="/>黎明之前
         * status : 1
         * admin_id : 0
         * users_id : 62
         * image : http://ownv0vrav.bkt.clouddn.com/1506594225852.jpg?attname=
         */

        private int id;
        private String title;
        private int type_id;
        private String author;
        private int reading_num;
        private int is_top;
        private String create_time;
        private String update_time;
        private String content;
        private int status;
        private int admin_id;
        private int users_id;
        private String image;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getType_id() {
            return type_id;
        }

        public void setType_id(int type_id) {
            this.type_id = type_id;
        }

        public String getAuthor() {
            return author;
        }

        public void setAuthor(String author) {
            this.author = author;
        }

        public int getReading_num() {
            return reading_num;
        }

        public void setReading_num(int reading_num) {
            this.reading_num = reading_num;
        }

        public int getIs_top() {
            return is_top;
        }

        public void setIs_top(int is_top) {
            this.is_top = is_top;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getAdmin_id() {
            return admin_id;
        }

        public void setAdmin_id(int admin_id) {
            this.admin_id = admin_id;
        }

        public int getUsers_id() {
            return users_id;
        }

        public void setUsers_id(int users_id) {
            this.users_id = users_id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }
    }
}
